package com.cloudpolice.weixin.feignInterface.hystric;

import com.cloudpolice.weixin.feignInterface.PersonInterFace;
import lh.model.ResultVO;
import lh.units.ResultStruct;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：梁昊，后端工程师：flyman5，前端工程师：孙耀
 * @create 2020-02-21 18:34
 * @function
 * @editLog
 */
@Service
public class PersonInterFaceHystric implements PersonInterFace {
    private final String hystricMessage = "亲，服务器正忙，请稍后再戳。";

    @Override
    public ResultVO getHavePersonByMobileAndCode(@RequestParam(value = "mobile", required = false) String mobile
            , @RequestParam(value = "idCard", required = false) String idCard
            , @RequestParam(value = "passPort", required = false) String passPort
            , @RequestParam(value = "license", required = false) String license) {
        return ResultStruct.error(hystricMessage, ResultVO.class, null);
    }
}
